package oa.hleast.xswl.pojo.dto;


import com.baomidou.mybatisplus.annotation.TableField;
import oa.hleast.xswl.pojo.domain.UmsAddress;
import lombok.Data;

import java.util.Date;
import java.util.List;

// import com.fasterxml.jackson.databind.annotation.JsonSerialize;
// import oa.hleast.common.utils.Date2TsStrSerializer;

@Data
public class MemberDataDTO {

    private Long id;

    private String username;

    private String nickname;

    private String mobile;

    // @JsonSerialize(using = Date2TsStrSerializer.class)
    private Date birthday;

    private String avatar;

    private String openid;

    private Integer status;

    private Integer point;

    private Integer favoritesCount;

    private Date lastSignInDate;

    @TableField(exist = false)
    private List<UmsAddress> addressList;

    //    @TableField(exist = false)
    private Long balance;

    private Long cartCount;

    private Integer authStatus;

    private String nation;

    private String fullname;

    private String idCardNum;

    private String imagerFrontCard;

    private String imagerBackCard;

}
